Flatten Image merges all layers of one document into an image layer and replaces the layers with the result.